﻿#ifndef ITEMEDIT_H
#define ITEMEDIT_H

#include "head/g_pch.h"

namespace Ui {
class ItemEdit;
}

class ItemEdit : public QDialog
{
    Q_OBJECT

public:
    explicit ItemEdit(int id,QWidget *parent, const QString &table);
    ~ItemEdit();

    void initView();

private slots:
    void on_btn_save_clicked();

private:
    Ui::ItemEdit *ui;

    int _id;
    QString _table;
    QString _category,_label,_detail;
};

#endif // ITEMEDIT_H
